home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / text / edit / tecoc-146.lha / exeqes.c < prev    next >
C/C++ Source or Header  |  1991-07-05  |  654b  |  25 lines

  1. /*****************************************************************************
  2.  
  3.     ExeQes()
  4.  
  5.     This function executes a ? command.
  6.     ?    Toggle trace mode
  7.  
  8. *****************************************************************************/
  9.  
  10. #include "zport.h"        /* define portability identifiers */
  11. #include "tecoc.h"        /* define general identifiers */
  12. #include "defext.h"        /* define external global variables */
  13.  
  14. DEFAULT ExeQes()                /* question mark command */
  15. {
  16.     DBGFEN(1,"ExeQes",NULL);
  17.  
  18.     TraceM = !TraceM;
  19.     CmdMod = '\0';                /* clear modifiers flags */
  20.     EStTop = EStBot;            /* clear expression stack */
  21.  
  22.     DBGFEX(1,DbgFNm,"SUCCESS");
  23.     return SUCCESS;
  24. }
  25.